module.exports = function(router){
  router.map({
		"/":{
			component(resolve){
				require(["../views/mobile/index.vue"] , resolve)
			},
      subRoutes:{
        "/":{
    			component(resolve){
    				require(["../views/mobile/article-index.vue"] , resolve)
    			}
        },
        "/articleList":{
    			component(resolve){
    				require(["../components/mobile/article-list.vue"] , resolve)
    			}
        }
      }
		},
    "/search":{
			component(resolve){
				require(["../views/mobile/search.vue"] , resolve)
			}
    }
  })
}
